package com.grad.why.studentsystem.mapper;

import com.grad.why.studentsystem.domain.FaceImgPath;
import com.grad.why.studentsystem.domain.FaceImgPathExample;
import com.grad.why.studentsystem.domain.current.CurrentFaceImgPath;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FaceImgPathMapper {
    int countByExample(FaceImgPathExample example);

    int deleteByExample(FaceImgPathExample example);

    int deleteByPrimaryKey(Integer fid);

    int insert(FaceImgPath record);

    int insertSelective(FaceImgPath record);

    List<FaceImgPath> selectByExample(FaceImgPathExample example);

    FaceImgPath selectByPrimaryKey(Integer fid);

    int updateByExampleSelective(@Param("record") FaceImgPath record, @Param("example") FaceImgPathExample example);

    int updateByExample(@Param("record") FaceImgPath record, @Param("example") FaceImgPathExample example);

    int updateByPrimaryKeySelective(FaceImgPath record);

    int updateByPrimaryKey(FaceImgPath record);

    List<CurrentFaceImgPath> getFaceImgPath(@Param("offset") int offset,@Param("limit") int limit,@Param("search") String search);

    long getFaceImgPathLength(@Param("search") String search);

    Integer getMaxId();
}